Item Property (AddressLists Collection)
The Item
property returns a single AddressList object from the collection. Read-only.
Syntax
objAddrListsColl.Item(index)
objAddrListsColl.Item(name)
index
A long
integer ranging from 1 to objAddrListsColl.Count.
name
A string
representing the value of the Name property of an AddressList object.
Data Type
Object
Remarks
The Item
property works like an accessor property for small collections.
The Item(index)
syntax selects an arbitrary AddressList object within the AddressLists
collection. The example in the Count property shows how these two properties can be
used together to traverse the collection.
The Item(name)
syntax returns the first AddressList object whose Name property matches the
string specified by name.
The Item
property is the default property of an AddressLists collection, meaning that
AddressLists(index) is syntactically equivalent to AddressLists.Item(index)
in Visual Basic code.